﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Logging
{
	public class WorkflowLoggerWrapper : CloudSoft.Workflows.ILogger
	{
		private ILogger m_Logger;

		public WorkflowLoggerWrapper(ILogger logger)
		{
			m_Logger = logger;
		}

		#region ILogger Members

		public void Debug(string message, params object[] prms)
		{
			m_Logger.Debug(message, prms);
		}

		public void Debug(string message)
		{
			m_Logger.Debug(message);
		}

		public void Error(Exception x)
		{
			m_Logger.Error(x);
		}

		public void Error(string message, params object[] prms)
		{
			m_Logger.Error(message, prms);
		}

		public void Error(string message)
		{
			m_Logger.Error(message);
		}

		public void Fatal(Exception x)
		{
			m_Logger.Fatal(x);
		}

		public void Fatal(string message, params object[] prms)
		{
			m_Logger.Fatal(message, prms);
		}

		public void Fatal(string message)
		{
			m_Logger.Fatal(message);
		}

		public void Info(string message, params object[] prms)
		{
			m_Logger.Info(message, prms);
		}

		public void Info(string message)
		{
			m_Logger.Info(message);
		}

		public void Notification(string message, params object[] prms)
		{
			m_Logger.Notification(message, prms);
		}

		public void Notification(string message)
		{
			m_Logger.Notification(message);
		}

		public void Warn(string message, params object[] prms)
		{
			m_Logger.Warn(message, prms);
		}

		public void Warn(string message)
		{
			m_Logger.Warn(message);
		}

		#endregion

	}
}
